$animationTime: 0.2s;
$animationType: linear;
$ratio: 750 / 10;

// @function px2rem($px) {
//   @return $px / $ratio + rem;
// }
@function px2rem($px) {
  @return $px / 2 + px;
}

@mixin absCenter {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

@mixin center {
  display: flex;
  justify-content: center;
  align-items: center;
}

@mixin left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

@mixin top {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

@mixin right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

@mixin columnTop {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

@mixin columnLeft {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

@mixin columnCenter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@mixin ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

@mixin ellipsis2($line) {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: $line;
}

@mixin scroll {
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  &::-webkit-scrollbar {
    display: none;
  }
}

@mixin leftBottom {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

.icon {
  color: #666;
  font-size: px2rem(16);
}

.title {
  color: #666;
  font-size: px2rem(16);
  font-weight: bold;
}
.pre_line {
  white-space: pre-line;
  word-wrap: break-word;
  word-break: break-all;
}

.title-text {
  color: #a57d60;
  background-image: linear-gradient(#ffffff 50%, #f9f1e8);
  font-weight: bold;
}

.fead_boot {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 55px;
  box-shadow: 0px -3px 7px 0px rgba(0, 0, 0, 0.06);
  .btn_li {
    width: 28%;
    height: 36px;
    line-height: 36px;
    border-radius: 5px;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    background-color: #0f61d5;
  }
}
